package com.jeesite.modules.task.deploy.service;

import com.jeesite.common.entity.Page;
import com.jeesite.common.service.CrudService;
import com.jeesite.modules.task.deploy.dao.DcSupTaskInfoSecretaryDao;
import com.jeesite.modules.task.deploy.entity.DcSupTaskInfo;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional(readOnly=false)
public class DcSupTaskInfoSecretaryService extends CrudService<DcSupTaskInfoSecretaryDao, DcSupTaskInfo> {
    public Page<DcSupTaskInfo> findLiistPage(DcSupTaskInfo dcSupTaskInfo) {
        Page<DcSupTaskInfo> page = dcSupTaskInfo.getPage();
        page.setList(dao.findListPage(dcSupTaskInfo));
        return  page;
    }
}
